package com.xyz.dto;

import com.xyz.aop.Param;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class SelectPageAllDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @Param(isRequired = false,type = Param.ParamType.POSITIVE_INTEGER)
    private String pageNum;

    @Param(isRequired = false,type = Param.ParamType.POSITIVE_INTEGER)
    private String pageSize;

    @Param(type = Param.ParamType.POSITIVE_INTEGER ,isRequired = false)
    private String repState;

    @Param(type = Param.ParamType.POSITIVE_INTEGER,isRequired = false)
    private String urgencyLevel;

    @Param(isRequired = false)
    private String workOrderCode;

    @Param(isRequired = false)
    private String emId;

    @Param(isRequired = false, type = Param.ParamType.DATE, rule = "yyyy-MM-dd")
    private String startTime;

    @Param(isRequired = false, type = Param.ParamType.DATE, rule = "yyyy-MM-dd")
    private String endTime;


    private String repStartTime;
    private String repTime;


    public String getPageNum() {
        return pageNum;
    }

    public void setPageNum(String pageNum) {
        this.pageNum = pageNum;
    }

    public String getPageSize() {
        return pageSize;
    }

    public void setPageSize(String pageSize) {
        this.pageSize = pageSize;
    }

    public String getRepState() {
        return repState;
    }

    public void setRepState(String repState) {
        this.repState = repState;
    }

    public String getUrgencyLevel() {
        return urgencyLevel;
    }

    public void setUrgencyLevel(String urgencyLevel) {
        this.urgencyLevel = urgencyLevel;
    }

    public String getWorkOrderCode() {
        return workOrderCode;
    }

    public void setWorkOrderCode(String workOrderCode) {
        this.workOrderCode = workOrderCode;
    }

    public String getEmId() {
        return emId;
    }

    public void setEmId(String emId) {
        this.emId = emId;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
}
